import { Component, OnInit, Input } from '@angular/core';

@Component({
  selector: 'app-header',
  templateUrl: './header.component.html',
  styleUrls: ['./header.component.less']
})
export class HeaderComponent implements OnInit {

  @Input('title') title:string;

  @Input('run') run:any;

  @Input('home') home:any;

  constructor() { }

  ngOnInit(): void {
  }

  doRun(): void {
    this.run();
  }

}
